package com.macro.mall.mapper;

import com.macro.mall.model.BmsImportantActivitiesSlideshow;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BmsImportantActivitiesSlideshowMapper {


    //手写新增方法
    int insert(BmsImportantActivitiesSlideshow bmsImportantActivitiesSlideshow);


    //更新
    int update(BmsImportantActivitiesSlideshow bmsImportantActivitiesSlideshow);


    //详情
    BmsImportantActivitiesSlideshow selectById(@Param("id") Long id);


    //查询
    List<BmsImportantActivitiesSlideshow> selectAll(BmsImportantActivitiesSlideshow bmsImportantActivitiesSlideshow);

    //删除方法
    int delete(@Param("ids") List<Long> ids);
    
    //查询
    List<BmsImportantActivitiesSlideshow> findAll(BmsImportantActivitiesSlideshow bmsImportantActivitiesSlideshow);
}